package simple.factory.method;

public class ChicagoPizzaStore extends PizzaStore {
    public ChicagoPizzaStore(SimplePizzaFactory pizzaFactory) {
        super(pizzaFactory);
    }

    @Override
    Pizza createPizza(String type) {
        System.out.println("芝加哥比萨店加点自己的东西");
        return pizzaFactory.createPizza(type);
    }
}
